import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/reset.css'
import * as Icons from '@ant-design/icons-vue';
import router from './router';
import myPinia from './stores/store';


const app = createApp(App);


app.use(myPinia);
app.use(Antd);
// 全局注册所有图标
Object.keys(Icons).forEach((key) => {
    app.component(key, Icons[key]);
});
app.use(router);
app.mount('#app');



